import Mock from 'mockjs'

Mock.mock('/api/project', 'get', {
    code: 0,
    msg: "",
    data: [
        {
            id: 0,
            name: "贪吃蛇",
            url: "https://static-5f39533e-6aff-4717-ae16-7470489ae7d7.bspapp.com/snake.html",
            description: ["刚学完 dom 操作，写的贪吃蛇小游戏"],
            thumb: "img/snake.webp",
        },
        {
            id: 1,
            name: "扫雷",
            url: "http://jia-hui00.gitee.io/mine",
            description: ["扫雷游戏"],
            thumb: "img/mine.webp",
        },
        {
            id: 2,
            name: "运动",
            url: "http://jia-hui00.gitee.io/motion",
            description: ["dom 运动", '有缓冲运动、弹性运动、自由落体'],
            thumb: "img/motion.webp",
        },
        {
            id: 3,
            name: "日历",
            url: "http://jia-hui00.gitee.io/calendar",
            description: ['windows 日历'],
            thumb: "img/calendar.webp",
        },
        {
            id: 4,
            name: "星巴克",
            url: "http://jia-hui00.gitee.io/xing",
            description: ["响应式布局", '根据不同的设备有不同的布局'],
            thumb: "img/xing.webp",
        },
        {
            id: 5,
            name: "canvas 效果",
            url: "http://jia-hui00.gitee.io/canvas/",
            description: ["使用 canvas 写的小特效"],
            thumb: "img/canvas.webp",
        },
        {
            id: 6,
            name: "像素鸟",
            url: "https://static-5f39533e-6aff-4717-ae16-7470489ae7d7.bspapp.com/bird.html",
            description: ["像素鸟小游戏"],
            thumb: "img/bird.jpg",
        },
        {
            id: 7,
            name: "推箱子",
            url: "http://jia-hui00.gitee.io/push-box",
            description: ["推箱子小游戏"],
            thumb: "img/push-box.webp",
        },
        {
            id: 8,
            name: "旋转方块",
            url: "http://jia-hui00.gitee.io/first-demo",
            description: ["使用了 css3 的三维样式"],
            thumb: "img/square.webp",
        },
        {
            id: 9,
            name: "京东",
            url: "http://jia-hui00.gitee.io/jingdong/",
            description: ["模仿京东首页"],
            thumb: "img/jd.webp",
        },
        {
            id: 10,
            name: "聊天机器人",
            url: "https://static-5f39533e-6aff-4717-ae16-7470489ae7d7.bspapp.com/robot.html",
            description: ["利用 ajax 调用聊天接口"],
            thumb: "img/robot.jpg",
        },
        {
            id: 11,
            name: "豆瓣",
            url: "http://jia-hui00.gitee.io/douban/",
            description: ["刚学完 html、css 做的练习"],
            thumb: "img/douban.jpg",
        },
        {
            id: 12,
            name: "鸟（css3 动画）",
            url: "http://jia-hui00.gitee.io/bird/",
            description: ["学完 css3 做的练习"],
            thumb: "img/birds.jpg",
        },
        {
            id: 13,
            name: "日出日落",
            url: "http://jia-hui00.gitee.io/bird/sun.html",
            description: ["和上边一样"],
            thumb: "img/sun.webp",
        },
        {
            id: 14,
            name: "每日优鲜 B 端（商家）",
            url: "http://jia-hui00.gitee.io/mall-business",
            description: ["每日优鲜后台（商家）管理系统，PC 端"],
            thumb: "img/每日优鲜.jpg",
        },
        {
            id: 15,
            name: "每日优鲜 C 端（用户）",
            url: "http://jia-hui00.gitee.io/mall-customer",
            description: ["每日优鲜前台（用户）界面，app 端"],
            thumb: "img/每日优鲜.jpg",
        },
        {
            id: 16,
            name: "今日资讯（h5端）",
            url: "https://static-5f39533e-6aff-4717-ae16-7470489ae7d7.bspapp.com",
            description: ["uni-app 项目", "使用了uniCloud 云开发（云数据库、云函数、云存储）"],
            thumb: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-5f39533e-6aff-4717-ae16-7470489ae7d7/14de2c7f-184a-40b8-9239-603bce149aab.jpg",
        },
        {
            id: 17,
            name: "时钟",
            url: "http://jia-hui00.gitee.io/clock",
            description: ["使用 css3 制作的时钟"],
            thumb: "img/clock.jpg",
        },
        {
            id: 18,
            name: "五子棋",
            url: "http://jia-hui00.gitee.io/gobang",
            description: ["原生 js 实现五子棋"],
            thumb: "img/五子棋.webp",
        },
    ]
})

